Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontWriter Class / CffCharsToStream Method / CffCharsToStream(Stream,Font,HashSet<Int32>) Method
The destination Stream object.
The Font object with PostScript outlines stored in the CFF format.
UTF-32 characters to be supported in the resulting table subset.

In This Topic
    CffCharsToStream(Stream,Font,HashSet<Int32>) Method
    In This Topic
    Writes a subset of the CFF font table containing the specified UTF-32 characters to a stream.
    Syntax
    'Declaration
     
    Public Overloads Function CffCharsToStream( _
       ByVal stream As System.IO.Stream, _
       ByVal font As Font, _
       ByVal utf32Chars As System.Collections.Generic.HashSet(Of Integer) _
    ) As System.Integer
    public System.int CffCharsToStream( 
       System.IO.Stream stream,
       Font font,
       System.Collections.Generic.HashSet<int> utf32Chars
    )

    Parameters

    stream
    The destination Stream object.
    font
    The Font object with PostScript outlines stored in the CFF format.
    utf32Chars
    UTF-32 characters to be supported in the resulting table subset.

    Return Value

    The number of bytes saved to the stream.
    See Also